-
Notifications
You must be signed in to change notification settings - Fork 368
[Docs] Add xdebug testing page #2840
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…ound into add-xdebug-wasm-test-page
|
@adamziel The pages are ready for review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work! Thank you. I will implement the same path mapping approach for the @php-wasm/cli soon and copy paste your documentation for that specific case. I will need your approval of course.
Ah! And french version is perfect.
packages/docs/site/docs/developers/07-xdebug/01-introduction.md
Outdated
Show resolved
Hide resolved
packages/docs/site/docs/developers/07-xdebug/02-getting-started.md
Outdated
Show resolved
Hide resolved
Clarify IDE integration description for Xdebug.
Updated formatting and added cautionary notes for IDE integration with Xdebug.
brandonpayton
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for adding this!
I think this is good overall, but the specific section on VS Code could be refined a bit more. I left a few comments below.
packages/docs/site/docs/developers/07-xdebug/02-getting-started.md
Outdated
Show resolved
Hide resolved
packages/docs/site/docs/developers/07-xdebug/02-getting-started.md
Outdated
Show resolved
Hide resolved
Updated IDE integration instructions for Xdebug, including safer plugin recommendations and added JSON configuration example.
|
🎉 |
|
Thank you @fellyph! A few notes:
|
Motivation for the change, related issues
This pull request adds documentation for using Xdebug with IDE integration in the Playground CLI. The new section explains how to enable Xdebug with automatic IDE configuration for VSCode and PhpStorm, provides step-by-step setup instructions for each IDE, and describes path mappings and safety considerations. It also clarifies how to use Xdebug without IDE integration.
--xdebugand--experimental-unsafe-ide-integrationflags, including a description of the automatic setup process and debug configuration creation.The changes are a draft to have guidance on the content; images will be included once the content is mostly approved